
package com.soft.bean;

public class Pet {
  private Integer id;

  private String petName = "tomcat";

  private Integer age;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getPetName() {
    return petName;
  }

  public void setPetName(String petName) {
    this.petName = petName;
  }

  public Integer getAge() {
    return age;
  }

  public void setAge(Integer age) {
    this.age = age;
  }

  @Override
  public String toString() {
    return "Pet{" + "id=" + id + ", petName='" + petName + '\'' + ", age=" + age + '}';
  }
}
